package grammer;

import grammer.components.Component;
import grammer.components.PredicateEnum;

/**
 * 
 * @author Minodor
 * 
 *         PredicateClass Wrapped Around Enumeration;
 */
public class Predicate implements Member {
	private Component predicate;

	public Predicate(Component predicate) {
		super();
		this.predicate = predicate;
	}

	@Override
	public Component getMember() {
		return getPredicate();
	}

	public PredicateEnum getPredicate() {
		return (PredicateEnum) predicate;
	}

	public void setPredicate(PredicateEnum predicate) {
		this.predicate = predicate;
	}
}
